#!/bin/sh

# chrono @ 2022-05

# 1. 构建 Deployment + ConfigMap
kubectl apply -f deploy.yml

# 2. 构建Service
kubectl apply -f svc.yml

kubectl describe svc ngx-svc

kubectl get pod -o wide

# 3. 验证
kubectl exec -it ngx-dep-785b6bbbd7-7hmtv -- sh


